-- GENERATED SPELL FOR [Lotwil Veriatus] --


function spell0_2921(pUnit, Event) --@Lotwil\'s Summoning,Self--
pUnit:FullCastSpellOnTarget(5001,pUnit)
pUnit:RegisterEvent('Sorts_2921', 592, 1)
end

function Sorts_2921(pUnit, Event)
local choix_sorts_2921 = math.random(0, 0)
if choix_sorts_2921 == 0 then
pUnit:RegisterEvent('spell0_2921', 1, 1)
end
end

function mob2921_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_2921', math.random(1500, 3000), 1)
end

function mob2921_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2921_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob2921_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(2921, 1, 'mob2921_Action')
RegisterUnitEvent(2921, 2, 'mob2921_Leave')
RegisterUnitEvent(2921, 3, 'mob2921_Kill')
RegisterUnitEvent(2921, 4, 'mob2921_Die')
